Skip to content

CR-156:Export consolidated conditions as PDF#163

Closed
don-aot wants to merge 2 commits intobcgov:mainfrom
don-aot:origin/CONDITIONS-task#156
Closed

CR-156:Export consolidated conditions as PDF#163
don-aot wants to merge 2 commits intobcgov:mainfrom
don-aot:origin/CONDITIONS-task#156

Conversation

@don-aot
Copy link
Collaborator

@don-aot don-aot commented Mar 16, 2026

Export Consolidated Conditions as PDF

Adds an Export PDF button to the Consolidated Conditions screen, allowing users to download a formatted PDF reflecting the latest conditions across all amendments.

What's included in the exported PDF

Header — EAO logo (left), "Consolidated Conditions" title + project name + overall status badge (right)
Summary stats — Generated date, total condition count, and list of included amendments
Disclaimer banner — informs users this is not an official/enforceable document
Per-condition blocks, each containing:
Condition number, name, and full condition text/subconditions
Metadata card: Year Condition Issued, Source Document, status badge (Approved / Awaiting Approval)
"Amended Version: " chip when the condition has been amended
Page-level disclaimer footer repeated on every page

Notes

PDF is A4 portrait, generated client-side via jsPDF

@don-aot don-aot closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant